package com.hrt.manage.role.dao;

import java.util.List;
import java.util.Map;

import com.hrt.base.BaseDao;
import com.hrt.bean.Role;

public interface RoleDao extends BaseDao<Role> {

	public	Role getRoleByid(Long id);

	public Long totalCount(Map<String, Object> condition);

	public String queryRoleByPinYin(String pinyin);

	public List<Role> listRole();

	public List<Role> queryRoleWithOutUsers(Long userId);

	public List<Role> getRoleByid(Long[] ids);

	public List<Role> queryByPage(List<Map<String, Object>> conditions,
			Integer pageIndex, Integer pageSize);

	//public List<Role> list();

}
